﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace CCOA.App.Meeting
{
    public partial class Ording : System.Web.UI.Page
    {
        public string FK_Room
        {
            get
            {
                return this.Request.QueryString["FK_Room"];
            }
        }

        protected void Page_Load(object sender, EventArgs e)
        {
            //RoomOrdings ens = new RoomOrdings();
            //ens.Retrieve(RoomOrdingAttr.FK_Room, this.FK_Room);

            DateTime dt = DateTime.Now;

            this.Pub1.AddTable();
            this.Pub1.AddTR();
            this.Pub1.AddTDTitle();
            this.Pub1.AddTREnd();

            for (int i = 0; i < 7; i++)
            {
                string mydt = dt.ToString("yyyy-MM-dd");


                dt = dt.AddDays(1);
            }

            this.Pub1.AddTableEnd();


            //foreach (var item in collection)
            //{
            //}
        }
    }
}